package com.yyq.eduorder.Client;

import com.yyq.result.vo.UcenterMemberOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author yyq
 * @create 2021-05-06 15:07
 */
@Component
@FeignClient("service-ucenter")
public interface UcenterClinet {
    //为生成订单获取用户信息
    @GetMapping("/eduucenter/ucenter-member/getUserInfoOrder/{memberId}")
    public UcenterMemberOrder getUserInfoOrder(@PathVariable("memberId") String memberId);
}
